import 'dayjs/locale/zh-cn'
import 'dayjs/locale/en'
import cn from 'element-plus/lib/locale/lang/zh-cn'
import en from 'element-plus/lib/locale/lang/en'
type lang = 'cn' | 'en'

export default (lang:lang) => {
  if (lang === 'cn') {
    return cn
  } else if (lang === 'en') {
    return en
  }
}
